package com.zhangtai.modules.entity.credential;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-10-15 15:22:38
 */
@Data
@TableName("tb_credential_info")
public class CredentialInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId(value="id",type= IdType.AUTO)
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)

	private Long id;
	/**
	 *
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long oid;
	/**
	 *
	 */
	@ApiModelProperty("证书编号")
	private String credentialNo;
	/**
	 *
	 */
	@ApiModelProperty("管理编号")
	private String mangerNo;
	/**
	 * 授予时间
	 */
	@ApiModelProperty("授予时间")
	private Date startTime;
	/**
	 * 到期时间
	 */
	@ApiModelProperty("到期时间")
	private Date endTime;
	/**
	 * 证书级别
	 */
	@ApiModelProperty("证书级别")
	private String credentialLevel;
	/**
	 * 职称系列
	 */
	@ApiModelProperty("职称系列")
	private String jobSeries;
	/**
	 * 资格名称
	 */
	@ApiModelProperty("资格名称")
	private String credentialName;
	/**
	 * 专业
	 */
	@ApiModelProperty("专业")
	private String profession;
	/**
	 * 批准机关
	 */
	@ApiModelProperty("批准机关")
	private String approvalAuthority;
	/**
	 * 注册单位
	 */
	@ApiModelProperty("注册单位")
	private String registerOrg;
	/**
	 * 是否年审
	 */
	@ApiModelProperty("是否年审")
	private Integer isAudit;
	/**
	 *
	 */
	@ApiModelProperty("文件url")
	private String fileUrl;
	/**
	 *
	 */
	private Integer isDelete;
	/**
	 * 审核状态 0：未审核 1：已审核 2：拒绝
	 */
	@ApiModelProperty("审核状态 0：未审核 1：已审核 2：拒绝")
	private Integer status;
	/**
	 * 挂证状态 0：未挂证 1：审核中 2：审核通过
	 */
	@ApiModelProperty("挂证状态 0：未挂证 1：审核中 2：审核通过 3撤销")
	private Integer hangStatus;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	@ApiModelProperty("挂靠单位")
	private Long unitId;

	private String reason;

	private Date createTime;
	
}
